package com.it.sun.yuebike.base.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author sunmannian
 * @since 2021-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yue_bike_poi")
@ApiModel(value = "PoiEntity对象", description = "")
public class PoiEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "POI名称")
    @TableField("name")
    private String title;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private String latitude;

    @ApiModelProperty(value = "经度")
    @TableField("lon")
    private String longitude;

    @ApiModelProperty(value = "POI地址")
    @TableField("address")
    private String address;

}
